package com.seefly.firstmall.repository;

import java.util.List;

import com.seefly.firstmall.entity.Brand;

@MyBatisRepository
public interface BrandDao {
	
	Brand get(Long id);
	
	Brand getByName(String name);
	
	List<Brand> getAllBrand();
	
	void add(Brand brand);
	
	void delete(Long id);
	
	void save(Brand brand);
}
